<template>
    <div>{{$store.state.empList}}<button @click="loadData">load</button></div>
    
</template>

<script>

export default {
    methods:{
        loadData: function(){
            this.$api.emp_list();
        }
    }
}
</script>

